projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e190af9
)
(debug): Use save-excursion inside the binding of buffer-read-only.
author
Richard M. Stallman
<rms@gnu.org>
Sun, 30 Mar 1997 07:05:14 +0000
(07:05 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sun, 30 Mar 1997 07:05:14 +0000
(07:05 +0000)
lisp/emacs-lisp/debug.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/debug.el
b/lisp/emacs-lisp/debug.el
index 202821c87edb690fa4ccb7da7ee6a3fe5d0189c6..763a1f3193c00915c907722d30575d7a16888841 100644
(file)
--- a/
lisp/emacs-lisp/debug.el
+++ b/
lisp/emacs-lisp/debug.el
@@
-161,7
+161,9
@@
first will be printed into the backtrace buffer."
(standard-output nil)
(buffer-read-only t))
(message "")
- (recursive-edit))))
+ ;; Make sure we unbind buffer-read-only in the right buffer.
+ (save-excursion
+ (recursive-edit)))))
;; Kill or at least neuter the backtrace buffer, so that users
;; don't try to execute debugger commands in an invalid context.
(if (get-buffer-window debugger-buffer 'visible)